package com.smartcommunity.entity.tag;

import com.smartcommunity.bean.enumeration.TagTargetEnum;
import lombok.Data;

/**
 * Copyright: Copyright (c) 2019
 * Company:
 *
 * @author WangShang
 * @version V1.0
 * @date @date  2019-07-02
 */
@Data
public class Tag {
    private Integer id;
    private Integer targetType;
    private String tagTarget;
    private Integer groupId;
    private String groupName;
    private String tagId;
    private String tagName;
    private Integer deadline;
    private String tagColor;
    private Integer tagType;
    private String mrowTime;
    private String deadTime;

    public String getTagTarget() {
        return TagTargetEnum.getName(this.targetType);
    }
}
